import request from '@/utils/requestHttp'
export function getList(params) {
  return request({
    url: '/blog/blogs',
    method: 'get',
    params,
  })
}
export function userLogin(data) {
  return request({
    url: '/user/login',
    method: 'post',
    data,
  })
}
export function userTest() {
  return request({
    url: '/blog/index',
    method: 'get',
  })
}
export function userInfo(params) {
  return request({
    url: '/user/getUserInfo',
    method: 'get',
    params,
  })
}
export function getRouter(params) {
  return request({
    url: '/router/getRouter',
    method: 'get',
    params,
  })
}
